package com.hl.toolkit.server.tycoin.account.slaveentity;
// Generated 3017-5-30 33:33:33 by Hibernate Tools 4.0.0.Final

import com.tycoin.common.entity.AbstractEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Entity
@Table(name="tycoin_etc_log")
 public class TycoinEtcLog extends AbstractEntity implements java.io.Serializable {

 
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -7258279154653696111L;

	@Column(name = "sign")
 	private String sign;
	
	@Column(name = "user_id")
	private int userId;
	
	@Column(name = "old_num")
	private Float oldNum;
	
	@Column(name = "num")
	private Float num;
	
	@Column(name = "new_num")
	private Float newNum;
	
	@Column(name = "to_type")
	private String toType;
	
	@Column(name = "from_type")
	private String fromType;
	
	@Column(name = "val")
	private BigDecimal val;
	
	@Column(name = "act_date")
	private Date actDate;
	
	@Column(name = "admin_userid")
	private Integer adminUserid;
	
	@Column(name = "remark")
	private String remark;
	
	@Column(name = "addtime")
	private Long addtime;
	
	@Column(name = "addip")
	private String addip;
	
	@Column(name = "from_userid")
	private int fromUserid;
	
	@Column(name = "hd_bili")
	private BigDecimal hdBili;
	
	@Column(name = "username")
	private String username;

	public TycoinEtcLog() {
	}

	public TycoinEtcLog(String sign, int userId, Float oldNum, Float num, Float newNum, String toType, String fromType,
			BigDecimal val, Long addtime, int fromUserid, BigDecimal hdBili, String username) {
		this.sign = sign;
		this.userId = userId;
		this.oldNum = oldNum;
		this.num = num;
		this.newNum = newNum;
		this.toType = toType;
		this.fromType = fromType;
		this.val = val;
		this.addtime = addtime;
		this.fromUserid = fromUserid;
		this.hdBili = hdBili;
		this.username = username;
	}

	public TycoinEtcLog(String sign, int userId, Float oldNum, Float num, Float newNum, String toType, String fromType,
			BigDecimal val, Date actDate, Integer adminUserid, String remark, Long addtime, String addip, int fromUserid,
			BigDecimal hdBili, String username) {
		this.sign = sign;
		this.userId = userId;
		this.oldNum = oldNum;
		this.num = num;
		this.newNum = newNum;
		this.toType = toType;
		this.fromType = fromType;
		this.val = val;
		this.actDate = actDate;
		this.adminUserid = adminUserid;
		this.remark = remark;
		this.addtime = addtime;
		this.addip = addip;
		this.fromUserid = fromUserid;
		this.hdBili = hdBili;
		this.username = username;
	}

 

	public String getSign() {
		return this.sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public int getUserId() {
		return this.userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public Float getOldNum() {
		return this.oldNum;
	}

	public void setOldNum(Float oldNum) {
		this.oldNum = oldNum;
	}


	public Float getNum() {
		return num;
	}

	public void setNum(Float num) {
		this.num = num;
	}

	public Float getNewNum() {
		return this.newNum;
	}

	public void setNewNum(Float newNum) {
		this.newNum = newNum;
	}

	public String getToType() {
		return this.toType;
	}

	public void setToType(String toType) {
		this.toType = toType;
	}

	public String getFromType() {
		return this.fromType;
	}

	public void setFromType(String fromType) {
		this.fromType = fromType;
	}

	public BigDecimal getVal() {
		return this.val;
	}

	public void setVal(BigDecimal val) {
		this.val = val;
	}

	public Date getActDate() {
		return this.actDate;
	}

	public void setActDate(Date actDate) {
		this.actDate = actDate;
	}

	public Integer getAdminUserid() {
		return this.adminUserid;
	}

	public void setAdminUserid(Integer adminUserid) {
		this.adminUserid = adminUserid;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getAddtime() {
		return this.addtime;
	}

	public void setAddtime(Long addtime) {
		this.addtime = addtime;
	}

	public String getAddip() {
		return this.addip;
	}

	public void setAddip(String addip) {
		this.addip = addip;
	}

	public int getFromUserid() {
		return this.fromUserid;
	}

	public void setFromUserid(int fromUserid) {
		this.fromUserid = fromUserid;
	}

	public BigDecimal getHdBili() {
		return this.hdBili;
	}

	public void setHdBili(BigDecimal hdBili) {
		this.hdBili = hdBili;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

}
